package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsEnterprise;
import com.cs.cssupplier.mapper.CsEnterpriseMapper;
import com.cs.cssupplier.service.CsEnterpriseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author admin
* @description 针对表【cs_enterprise(企业资质表)】的数据库操作Service实现
* @createDate 2024-11-11 16:40:47
*/
@Service
public class CsEnterpriseServiceImpl implements CsEnterpriseService {
    @Resource
    private CsEnterpriseMapper mapper;

    @Override
    public CsEnterprise selectEnterprisezzId(Long zzId) {
        return mapper.selectEnterprisezzId(zzId);
    }

    @Override
    public List<CsEnterprise> selectEnterpriseList(CsEnterprise csEnterprise) {
        return mapper.selectEnterpriseList(csEnterprise);
    }

    @Override
    public int addEnterprise(CsEnterprise csEnterprise) {
        return mapper.addEnterprise(csEnterprise);
    }

    @Override
    public int updateEnterprise(CsEnterprise csEnterprise) {
        return mapper.updateEnterprise(csEnterprise);
    }

    @Override
    public int deleteEnterprise(Long zzId) {
        return mapper.deleteEnterprise(zzId);
    }

    @Override
    public int deleteListEnterprise(Long[] zzIds) {
        return mapper.deleteListEnterprise(zzIds);
    }
}




